namespace FaultBackService.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class t_TurbDataGeneric
    {
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int SiteID { get; set; }

        [Key]
        [Column(Order = 1)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int NodeID { get; set; }

        [Key]
        [Column(Order = 2)]
        public DateTime TStampOfMidPoint { get; set; }

        public int? DayOfMidPoint { get; set; }

        public DateTime? ValidFrom { get; set; }

        [Key]
        [Column(Order = 3)]
        public DateTime ValidTo { get; set; }

        public DateTime SCADA_TStamp { get; set; }

        public float? TimeError_secs { get; set; }

        public float? Duration_secs { get; set; }

        public int? NumOfReadings { get; set; }

        public float? MeanTurbDemand_kW { get; set; }

        public float? MeanOpDemand_kW { get; set; }

        public float? MaxGust_mps { get; set; }

        public float? kW_Mean { get; set; }

        public float? kW_SD { get; set; }

        public float? kW_Min { get; set; }

        public float? kW_Max { get; set; }

        public float? kVArMean { get; set; }

        public float? kVArSD { get; set; }

        public float? kVArMin { get; set; }

        public float? kVArMax { get; set; }

        public float? NacWSpeedMean_mps { get; set; }

        public float? NacWSpeedSD_mps { get; set; }

        public float? NacWSpeedMin_mps { get; set; }

        public float? NacWSpeedMax_mps { get; set; }

        public float? NacOrientationMean_degs { get; set; }

        public float? NacOrientationSD_degs { get; set; }

        public float? NacOrientationMin_degs { get; set; }

        public float? NacOrientationMax_degs { get; set; }

        public float? RotorRPM_Mean { get; set; }

        public float? RotorRPM_SD { get; set; }

        public float? RotorRPM_Min { get; set; }

        public float? RotorRPM_Max { get; set; }

        public float? PitchMean_degs { get; set; }

        public float? PitchSD_degs { get; set; }

        public float? PitchMin_degs { get; set; }

        public float? PitchMax_degs { get; set; }

        public float? GBoxDegC_Mean { get; set; }

        public float? GBoxDegC_SD { get; set; }

        public float? GBoxDegC_Min { get; set; }

        public float? GBoxDegC_Max { get; set; }

        public float? GenDegC_Mean { get; set; }

        public float? GenDegC_SD { get; set; }

        public float? GenDegC_Min { get; set; }

        public float? GenDegC_Max { get; set; }

        public float? RMS_VoltsPh1Mean { get; set; }

        public float? RMS_VoltsPh1SD { get; set; }

        public float? RMS_VoltsPh1Min { get; set; }

        public float? RMS_VoltsPh1Max { get; set; }

        public float? RMS_VoltsPh2Mean { get; set; }

        public float? RMS_VoltsPh2SD { get; set; }

        public float? RMS_VoltsPh2Min { get; set; }

        public float? RMS_VoltsPh2Max { get; set; }

        public float? RMS_VoltsPh3Mean { get; set; }

        public float? RMS_VoltsPh3SD { get; set; }

        public float? RMS_VoltsPh3Min { get; set; }

        public float? RMS_VoltsPh3Max { get; set; }

        public float? RMS_AmpsPh1Mean { get; set; }

        public float? RMS_AmpsPh1SD { get; set; }

        public float? RMS_AmpsPh1Min { get; set; }

        public float? RMS_AmpsPh1Max { get; set; }

        public float? RMS_AmpsPh2Mean { get; set; }

        public float? RMS_AmpsPh2SD { get; set; }

        public float? RMS_AmpsPh2Min { get; set; }

        public float? RMS_AmpsPh2Max { get; set; }

        public float? RMS_AmpsPh3Mean { get; set; }

        public float? RMS_AmpsPh3SD { get; set; }

        public float? RMS_AmpsPh3Min { get; set; }

        public float? RMS_AmpsPh3Max { get; set; }

        public float? SecsOnline { get; set; }

        public float? SecsIdling { get; set; }

        public float? SecsOnlineLowSpeed { get; set; }

        public float? SecsAtRedOpSetpoint { get; set; }

        public float? SecsOnLineGrdOutOfLim { get; set; }

        public float? SecsCrewAtTurb { get; set; }

        public int? kWhImport { get; set; }

        public int? kWhExport { get; set; }

        public int? kVArhImport { get; set; }

        public int? kVArhExport { get; set; }

        public int? CumkWhImport { get; set; }

        public int? CumkWhExport { get; set; }

        public int? CumkVArhImport { get; set; }

        public int? CumkVArhExport { get; set; }

        public int? NumOfStarts { get; set; }

        public int? NumOfStopsCmd { get; set; }

        public int? NumOfStopsEnv { get; set; }

        public int? NumOfStopsGrid { get; set; }

        public int? NumOfStopsFault { get; set; }

        public int? NumOfYawOperations { get; set; }

        public int? NumOfBrakeApplications { get; set; }

        public int? NumOfCableUnwinds { get; set; }

        public int? NumOfSpeedChanges { get; set; }

        public int? PeriodID { get; set; }

        public byte DataFeedStatus { get; set; }

        public float? SecsReleasedToRun { get; set; }

        public DateTime? EditedTStamp { get; set; }
    }
}
